package dto;

import java.util.List;

public class Table {
    private String tabbleName;
    private List<String> columnName;
    private List<List<Object>> data;

    public Table(String tabbleName, List<String> columnName, List<List<Object>> data) {
        this.tabbleName = tabbleName;
        this.columnName = columnName;
        this.data = data;
    }

    public String getTabbleName() {
        return tabbleName;
    }

    public void setTabbleName(String tabbleName) {
        this.tabbleName = tabbleName;
    }

    public List<String> getColumnName() {
        return columnName;
    }

    public void setColumnName(List<String> columnName) {
        this.columnName = columnName;
    }

    public List<List<Object>> getData() {
        return data;
    }

    public void setData(List<List<Object>> data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "Table{" +
                "tabbleName='" + tabbleName + '\'' +
                ", columnName=" + columnName +
                ", data=" + data +
                '}';
    }
}
